package com.xmy.cultivate.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 刷脸签到
 * </p>
 *
 * @author min
 * @since 2023-01-04
 */
@TableName("student_sign_in")
@Data
public class StudentSignIn implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Integer yearPart;

    private Integer quarterNum;

    private Long schoolId;

    private Long studentId;

    private String studentName;

    private Integer lessonType;

    private Long subjectsId;

    private Long schedulingDetailId;

    private LocalDateTime inDateTime;

    private String ossImage;

    private LocalDateTime outDateTime;

    private String outOssImage;

    private LocalDateTime brushDateTime;

    private String brushOssImage;

    /**
     * 1精品课，2补课，3其它
     */
    private Integer courseType;

    /**
     * 1签到，2是签退
     */
    private Integer type;

    private LocalDate addDate;

    private LocalDateTime createdAt;


    @ExcelIgnore
    @TableField(fill = FieldFill.INSERT)
    private Long createdId;
}
